<template>
  <div class="main_spac1 maincl">
    <div class="main_white padding10 paddingTop0">
      <div class="main_ti">
        <el-tabs v-model="activeName" @tab-click="handleClick">
          <el-tab-pane label="货到付款" name="1"></el-tab-pane>
          <el-tab-pane label="在线支付" name="2"></el-tab-pane>
        </el-tabs>
      </div>
      <div>
        <cash-on-delivery v-if="activeName == 1"></cash-on-delivery>
        <receivables v-if="activeName == 2"></receivables>
      </div>
    </div>
  </div>
</template>

<script>
import CashOnDelivery from "./Commission/cashOnDelivery.vue";
import Receivables from "./Commission/receivables.vue";
export default {
  components: { CashOnDelivery, Receivables },
  data() {
    return {
      // 选中菜单
      activeName: "1",
    };
  },
  methods: {
    // 选中菜单
    handleClick(tab, event) {},
  },
  created() {},
};
</script>
<style lang="scss" scoped>
@import "@/styles/variables.scss";
/deep/.el-tabs__item:focus.is-active.is-focus:not(:active) {
  box-shadow: none !important;
}
</style>
